func runtime.gettid 2 uses runtime (current package) os_linux.go#L392: func gettid() uint32 os_linux.go#L402: getg().m.procid = uint64(gettid())
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)